package com.nit.lab.dto.basic;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @文件名：DeptDTO
 * @创建人: SN
 * @创建时间: 2020/12/23
 * @描述:
 */
public class DeptDTO {

    private Long key;
    private Long deptId;
    private String deptName;
    private String deptInfo;
    private Long deptFather;
    private Long deptType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;
    private String deptFathers;
    private String deptTypes;

    public DeptDTO() {
    }

    public DeptDTO(Long key, Long deptId, String deptName, String deptInfo, Long deptFather, Long deptType, Date gmtCreate, String deptFathers, String deptTypes) {
        this.key = key;
        this.deptId = deptId;
        this.deptName = deptName;
        this.deptInfo = deptInfo;
        this.deptFather = deptFather;
        this.deptType = deptType;
        this.gmtCreate = gmtCreate;
        this.deptFathers = deptFathers;
        this.deptTypes = deptTypes;
    }

    public Long getKey() {
        return key;
    }

    public void setKey(Long key) {
        this.key = key;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptInfo() {
        return deptInfo;
    }

    public void setDeptInfo(String deptInfo) {
        this.deptInfo = deptInfo;
    }

    public Long getDeptFather() {
        return deptFather;
    }

    public void setDeptFather(Long deptFather) {
        this.deptFather = deptFather;
    }

    public Long getDeptType() {
        return deptType;
    }

    public void setDeptType(Long deptType) {
        this.deptType = deptType;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getDeptFathers() {
        return deptFathers;
    }

    public void setDeptFathers(String deptFathers) {
        this.deptFathers = deptFathers;
    }

    public String getDeptTypes() {
        return deptTypes;
    }

    public void setDeptTypes(String deptTypes) {
        this.deptTypes = deptTypes;
    }
}
